<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DGRv2: model/dgrv2-queue-disc.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">DGRv2<span id="projectnumber">&#160;2-dev</span>
   </div>
   <div id="projectbrief">A Delay-Guaranteed Routing Protocol model in ns-3</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('d6/d73/dgrv2-queue-disc_8h_source.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">dgrv2-queue-disc.h</div></div>
</div><!--header-->
<div class="contents">
<a href="../../d6/d73/dgrv2-queue-disc_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/* -*- Mode:C++; c-file-style:&quot;gnu&quot;; indent-tabs-mode:nil; -*- */</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#ifndef DGR_v2_QUEUE_DISC_H</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="preprocessor">#define DGR_v2_QUEUE_DISC_H</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span> </div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="preprocessor">#include &quot;ns3/queue-disc.h&quot;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="preprocessor">#include &quot;ns3/object.h&quot;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="preprocessor">#include &quot;ns3/packet-filter.h&quot;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#include &quot;<a class="code" href="../../de/dc1/dgr-header_8h.html">dgr-header.h</a>&quot;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="keyword">namespace </span><a class="code hl_namespace" href="../../d7/d2e/namespacens3.html">ns3</a> {</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html">   12</a></span><span class="keyword">class </span><a class="code hl_class" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html">DGRv2QueueDisc</a> : <span class="keyword">public</span> <a class="code hl_class" href="../../de/dde/class_queue_disc.html">QueueDisc</a> {</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span>  <span class="keyword">public</span>:</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span>    <span class="keyword">static</span> TypeId <a class="code hl_function" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a72756e5a2ef0aa214ff90813cb7a9d0a">GetTypeId</a> (<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span>    <a class="code hl_function" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a577832ddbed27a0e6e732064dc550ae6">DGRv2QueueDisc</a> ();</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>    <a class="code hl_function" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a684b376fae1037a8f355d1dc66a7fdcd">~DGRv2QueueDisc</a>();</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span>    <span class="comment">// Reasons for dropping packets</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a3c5f6b8b3b3262ba736e1e5f01f4fbd0">   29</a></span>    <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_variable" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a3c5f6b8b3b3262ba736e1e5f01f4fbd0">LIMIT_EXCEEDED_DROP</a> = <span class="stringliteral">&quot;Queue disc limit exceeded&quot;</span>;  </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span>    <span class="comment">// Get current queue state</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span>    uint32_t <a class="code hl_function" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a0776911f2905bb3beb1c661ef4dffae6">GetQueueStatus</a> ();</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#af24edcb8e345da5aa062f462329c006d">CheckConfig</a> (<span class="keywordtype">void</span>) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>    </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span>  <span class="keyword">private</span>:</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a8c4ebeeeb845bcf635db7bb929cf2035">   37</a></span>    uint32_t <a class="code hl_variable" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a8c4ebeeeb845bcf635db7bb929cf2035">m_fastWeight</a>;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a4cc480a47b078a6618069471ec6c62bb">   38</a></span>    uint32_t <a class="code hl_variable" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a4cc480a47b078a6618069471ec6c62bb">m_normalWeight</a>;</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a6da48e3757bac9a55a2f20cc2672c0d0">   39</a></span>    uint32_t <a class="code hl_variable" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a6da48e3757bac9a55a2f20cc2672c0d0">m_slowWeight</a>;</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a78d8252d17d17673cf61e84e5dda263b">   40</a></span>    uint32_t <a class="code hl_variable" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a78d8252d17d17673cf61e84e5dda263b">m_currentFastWeight</a>;</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#ae4c72dc910b3b43b761e6d06f411cc5f">   41</a></span>    uint32_t <a class="code hl_variable" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#ae4c72dc910b3b43b761e6d06f411cc5f">m_currentNormalWeight</a>;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a74aa4b447126656e2f3b413396f428fb">   42</a></span>    uint32_t <a class="code hl_variable" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a74aa4b447126656e2f3b413396f428fb">m_currentSlowWeight</a>;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span>    </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#ab0e7d910d34bed359c34f03bbf3de5e2">DoEnqueue</a> (Ptr&lt;QueueDiscItem&gt; item) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>    Ptr&lt;QueueDiscItem&gt; <a class="code hl_function" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a11b483d3b91143d0bbf8ac85071d29e1">DoDequeue</a> (<span class="keywordtype">void</span>) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>    Ptr&lt;const QueueDiscItem&gt; <a class="code hl_function" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#ac88b22362bd8121ae94c0897f74686c9">DoPeek</a> (<span class="keywordtype">void</span>) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>    <span class="comment">// bool CheckConfig (void) override;</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a44ed011e5ef9846e8275daf601e212d7">InitializeParams</a> (<span class="keywordtype">void</span>) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span>    uint32_t <a class="code hl_function" href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a292613ff9d5c2be9fb20e6d9b1c3c472">EnqueueClassify</a> (Ptr&lt;QueueDiscItem&gt; item);</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span>};</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span> </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="../../d7/d47/classns3_1_1_d_g_rv2_packet_filter.html">   53</a></span><span class="keyword">class </span><a class="code hl_class" href="../../d7/d47/classns3_1_1_d_g_rv2_packet_filter.html">DGRv2PacketFilter</a> : <span class="keyword">public</span> <a class="code hl_class" href="../../dc/ded/class_packet_filter.html">PacketFilter</a></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span>{</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span>  <span class="keyword">public</span>:</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span>    <span class="keyword">static</span> TypeId <a class="code hl_function" href="../../d7/d47/classns3_1_1_d_g_rv2_packet_filter.html#a9d0d348af26423eacee7db1c1affe755">GetTypeId</a>();</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>    <a class="code hl_function" href="../../d7/d47/classns3_1_1_d_g_rv2_packet_filter.html#a7709f877e4c75cc39373c34a06108913">DGRv2PacketFilter</a>();</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>    <a class="code hl_function" href="../../d7/d47/classns3_1_1_d_g_rv2_packet_filter.html#af413df63f91dfa61214b4f75e5f12c4f">~DGRv2PacketFilter</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span> </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>  <span class="keyword">private</span>:</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d7/d47/classns3_1_1_d_g_rv2_packet_filter.html#aa290811d7bcc806f641e774cdb3aaeff">CheckProtocol</a>(Ptr&lt;QueueDiscItem&gt; item) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>    int32_t <a class="code hl_function" href="../../d7/d47/classns3_1_1_d_g_rv2_packet_filter.html#a2e48e3d4ceebcf15bfe95658b6510a0a">DoClassify</a>(Ptr&lt;QueueDiscItem&gt; item) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>};</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span> </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>}</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span> </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span><span class="preprocessor">#endif </span><span class="comment">/* DGRv2_QUEUE_DISC_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="aclass_packet_filter_html"><div class="ttname"><a href="../../dc/ded/class_packet_filter.html">PacketFilter</a></div></div>
<div class="ttc" id="aclass_queue_disc_html"><div class="ttname"><a href="../../de/dde/class_queue_disc.html">QueueDisc</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_packet_filter_html"><div class="ttname"><a href="../../d7/d47/classns3_1_1_d_g_rv2_packet_filter.html">ns3::DGRv2PacketFilter</a></div><div class="ttdef"><b>Definition</b> <a href="../../d6/d73/dgrv2-queue-disc_8h_source.html#l00053">dgrv2-queue-disc.h:54</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_packet_filter_html_a2e48e3d4ceebcf15bfe95658b6510a0a"><div class="ttname"><a href="../../d7/d47/classns3_1_1_d_g_rv2_packet_filter.html#a2e48e3d4ceebcf15bfe95658b6510a0a">ns3::DGRv2PacketFilter::DoClassify</a></div><div class="ttdeci">int32_t DoClassify(Ptr&lt; QueueDiscItem &gt; item) const override</div><div class="ttdef"><b>Definition</b> <a href="../../d6/da6/dgrv2-queue-disc_8cc_source.html#l00227">dgrv2-queue-disc.cc:227</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_packet_filter_html_a7709f877e4c75cc39373c34a06108913"><div class="ttname"><a href="../../d7/d47/classns3_1_1_d_g_rv2_packet_filter.html#a7709f877e4c75cc39373c34a06108913">ns3::DGRv2PacketFilter::DGRv2PacketFilter</a></div><div class="ttdeci">DGRv2PacketFilter()</div><div class="ttdef"><b>Definition</b> <a href="../../d6/da6/dgrv2-queue-disc_8cc_source.html#l00208">dgrv2-queue-disc.cc:208</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_packet_filter_html_a9d0d348af26423eacee7db1c1affe755"><div class="ttname"><a href="../../d7/d47/classns3_1_1_d_g_rv2_packet_filter.html#a9d0d348af26423eacee7db1c1affe755">ns3::DGRv2PacketFilter::GetTypeId</a></div><div class="ttdeci">static TypeId GetTypeId()</div><div class="ttdoc">Get the type ID.</div><div class="ttdef"><b>Definition</b> <a href="../../d6/da6/dgrv2-queue-disc_8cc_source.html#l00198">dgrv2-queue-disc.cc:198</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_packet_filter_html_aa290811d7bcc806f641e774cdb3aaeff"><div class="ttname"><a href="../../d7/d47/classns3_1_1_d_g_rv2_packet_filter.html#aa290811d7bcc806f641e774cdb3aaeff">ns3::DGRv2PacketFilter::CheckProtocol</a></div><div class="ttdeci">bool CheckProtocol(Ptr&lt; QueueDiscItem &gt; item) const override</div><div class="ttdef"><b>Definition</b> <a href="../../d6/da6/dgrv2-queue-disc_8cc_source.html#l00219">dgrv2-queue-disc.cc:219</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_packet_filter_html_af413df63f91dfa61214b4f75e5f12c4f"><div class="ttname"><a href="../../d7/d47/classns3_1_1_d_g_rv2_packet_filter.html#af413df63f91dfa61214b4f75e5f12c4f">ns3::DGRv2PacketFilter::~DGRv2PacketFilter</a></div><div class="ttdeci">~DGRv2PacketFilter() override</div><div class="ttdef"><b>Definition</b> <a href="../../d6/da6/dgrv2-queue-disc_8cc_source.html#l00213">dgrv2-queue-disc.cc:213</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html">ns3::DGRv2QueueDisc</a></div><div class="ttdef"><b>Definition</b> <a href="../../d6/d73/dgrv2-queue-disc_8h_source.html#l00012">dgrv2-queue-disc.h:12</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html_a0776911f2905bb3beb1c661ef4dffae6"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a0776911f2905bb3beb1c661ef4dffae6">ns3::DGRv2QueueDisc::GetQueueStatus</a></div><div class="ttdeci">uint32_t GetQueueStatus()</div><div class="ttdef"><b>Definition</b> <a href="../../d6/da6/dgrv2-queue-disc_8cc_source.html#l00048">dgrv2-queue-disc.cc:48</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html_a11b483d3b91143d0bbf8ac85071d29e1"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a11b483d3b91143d0bbf8ac85071d29e1">ns3::DGRv2QueueDisc::DoDequeue</a></div><div class="ttdeci">Ptr&lt; QueueDiscItem &gt; DoDequeue(void) override</div><div class="ttdef"><b>Definition</b> <a href="../../d6/da6/dgrv2-queue-disc_8cc_source.html#l00084">dgrv2-queue-disc.cc:84</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html_a292613ff9d5c2be9fb20e6d9b1c3c472"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a292613ff9d5c2be9fb20e6d9b1c3c472">ns3::DGRv2QueueDisc::EnqueueClassify</a></div><div class="ttdeci">uint32_t EnqueueClassify(Ptr&lt; QueueDiscItem &gt; item)</div><div class="ttdef"><b>Definition</b> <a href="../../d6/da6/dgrv2-queue-disc_8cc_source.html#l00182">dgrv2-queue-disc.cc:182</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html_a3c5f6b8b3b3262ba736e1e5f01f4fbd0"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a3c5f6b8b3b3262ba736e1e5f01f4fbd0">ns3::DGRv2QueueDisc::LIMIT_EXCEEDED_DROP</a></div><div class="ttdeci">static constexpr const char * LIMIT_EXCEEDED_DROP</div><div class="ttdoc">Packet dropped due to queue disc limit exceeded.</div><div class="ttdef"><b>Definition</b> <a href="../../d6/d73/dgrv2-queue-disc_8h_source.html#l00029">dgrv2-queue-disc.h:29</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html_a44ed011e5ef9846e8275daf601e212d7"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a44ed011e5ef9846e8275daf601e212d7">ns3::DGRv2QueueDisc::InitializeParams</a></div><div class="ttdeci">void InitializeParams(void) override</div><div class="ttdef"><b>Definition</b> <a href="../../d6/da6/dgrv2-queue-disc_8cc_source.html#l00172">dgrv2-queue-disc.cc:172</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html_a4cc480a47b078a6618069471ec6c62bb"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a4cc480a47b078a6618069471ec6c62bb">ns3::DGRv2QueueDisc::m_normalWeight</a></div><div class="ttdeci">uint32_t m_normalWeight</div><div class="ttdef"><b>Definition</b> <a href="../../d6/d73/dgrv2-queue-disc_8h_source.html#l00038">dgrv2-queue-disc.h:38</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html_a577832ddbed27a0e6e732064dc550ae6"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a577832ddbed27a0e6e732064dc550ae6">ns3::DGRv2QueueDisc::DGRv2QueueDisc</a></div><div class="ttdeci">DGRv2QueueDisc()</div><div class="ttdoc">DGRv2QueueDisc constructor.</div><div class="ttdef"><b>Definition</b> <a href="../../d6/da6/dgrv2-queue-disc_8cc_source.html#l00036">dgrv2-queue-disc.cc:36</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html_a684b376fae1037a8f355d1dc66a7fdcd"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a684b376fae1037a8f355d1dc66a7fdcd">ns3::DGRv2QueueDisc::~DGRv2QueueDisc</a></div><div class="ttdeci">~DGRv2QueueDisc()</div><div class="ttdoc">DGRv2QueueDisc Destructor.</div><div class="ttdef"><b>Definition</b> <a href="../../d6/da6/dgrv2-queue-disc_8cc_source.html#l00042">dgrv2-queue-disc.cc:42</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html_a6da48e3757bac9a55a2f20cc2672c0d0"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a6da48e3757bac9a55a2f20cc2672c0d0">ns3::DGRv2QueueDisc::m_slowWeight</a></div><div class="ttdeci">uint32_t m_slowWeight</div><div class="ttdef"><b>Definition</b> <a href="../../d6/d73/dgrv2-queue-disc_8h_source.html#l00039">dgrv2-queue-disc.h:39</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html_a72756e5a2ef0aa214ff90813cb7a9d0a"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a72756e5a2ef0aa214ff90813cb7a9d0a">ns3::DGRv2QueueDisc::GetTypeId</a></div><div class="ttdeci">static TypeId GetTypeId(void)</div><div class="ttdoc">Get the type ID.</div><div class="ttdef"><b>Definition</b> <a href="../../d6/da6/dgrv2-queue-disc_8cc_source.html#l00020">dgrv2-queue-disc.cc:20</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html_a74aa4b447126656e2f3b413396f428fb"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a74aa4b447126656e2f3b413396f428fb">ns3::DGRv2QueueDisc::m_currentSlowWeight</a></div><div class="ttdeci">uint32_t m_currentSlowWeight</div><div class="ttdef"><b>Definition</b> <a href="../../d6/d73/dgrv2-queue-disc_8h_source.html#l00042">dgrv2-queue-disc.h:42</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html_a78d8252d17d17673cf61e84e5dda263b"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a78d8252d17d17673cf61e84e5dda263b">ns3::DGRv2QueueDisc::m_currentFastWeight</a></div><div class="ttdeci">uint32_t m_currentFastWeight</div><div class="ttdef"><b>Definition</b> <a href="../../d6/d73/dgrv2-queue-disc_8h_source.html#l00040">dgrv2-queue-disc.h:40</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html_a8c4ebeeeb845bcf635db7bb929cf2035"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#a8c4ebeeeb845bcf635db7bb929cf2035">ns3::DGRv2QueueDisc::m_fastWeight</a></div><div class="ttdeci">uint32_t m_fastWeight</div><div class="ttdef"><b>Definition</b> <a href="../../d6/d73/dgrv2-queue-disc_8h_source.html#l00037">dgrv2-queue-disc.h:37</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html_ab0e7d910d34bed359c34f03bbf3de5e2"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#ab0e7d910d34bed359c34f03bbf3de5e2">ns3::DGRv2QueueDisc::DoEnqueue</a></div><div class="ttdeci">bool DoEnqueue(Ptr&lt; QueueDiscItem &gt; item) override</div><div class="ttdef"><b>Definition</b> <a href="../../d6/da6/dgrv2-queue-disc_8cc_source.html#l00057">dgrv2-queue-disc.cc:57</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html_ac88b22362bd8121ae94c0897f74686c9"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#ac88b22362bd8121ae94c0897f74686c9">ns3::DGRv2QueueDisc::DoPeek</a></div><div class="ttdeci">Ptr&lt; const QueueDiscItem &gt; DoPeek(void) override</div><div class="ttdef"><b>Definition</b> <a href="../../d6/da6/dgrv2-queue-disc_8cc_source.html#l00105">dgrv2-queue-disc.cc:105</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html_ae4c72dc910b3b43b761e6d06f411cc5f"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#ae4c72dc910b3b43b761e6d06f411cc5f">ns3::DGRv2QueueDisc::m_currentNormalWeight</a></div><div class="ttdeci">uint32_t m_currentNormalWeight</div><div class="ttdef"><b>Definition</b> <a href="../../d6/d73/dgrv2-queue-disc_8h_source.html#l00041">dgrv2-queue-disc.h:41</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_rv2_queue_disc_html_af24edcb8e345da5aa062f462329c006d"><div class="ttname"><a href="../../d8/d5c/classns3_1_1_d_g_rv2_queue_disc.html#af24edcb8e345da5aa062f462329c006d">ns3::DGRv2QueueDisc::CheckConfig</a></div><div class="ttdeci">bool CheckConfig(void) override</div><div class="ttdef"><b>Definition</b> <a href="../../d6/da6/dgrv2-queue-disc_8cc_source.html#l00126">dgrv2-queue-disc.cc:126</a></div></div>
<div class="ttc" id="adgr-header_8h_html"><div class="ttname"><a href="../../de/dc1/dgr-header_8h.html">dgr-header.h</a></div></div>
<div class="ttc" id="anamespacens3_html"><div class="ttname"><a href="../../d7/d2e/namespacens3.html">ns3</a></div><div class="ttdef"><b>Definition</b> <a href="../../d5/d65/dgr-application-helper_8cc_source.html#l00027">dgr-application-helper.cc:27</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_3f14f6767c31cb4a1d22c13c18cc6fc3.html">model</a></li><li class="navelem"><a class="el" href="../../d6/d73/dgrv2-queue-disc_8h.html">dgrv2-queue-disc.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
  </ul>
</div>
</body>
</html>
